package org.kgc.alanhealth.mapper;

import org.kgc.alanhealth.entity.HospitalShoppingcart;

import java.util.List;

/**
* @author 27493
* @description 针对表【hospital_shoppingcart】的数据库操作Mapper
* @createDate 2024-09-10 10:42:07
* @Entity org.kgc.alanhealth.entity.HospitalShoppingcart
*/
public interface HospitalShoppingcartMapper {
    List<HospitalShoppingcart> selectByUserid(int id);
    List<HospitalShoppingcart> selectByUserIdAndDrugId(int userid, String drugname);

    int deleteByPrimaryKey(Long id);

    int insert(HospitalShoppingcart record);

    int insertSelective(HospitalShoppingcart record);

    HospitalShoppingcart selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HospitalShoppingcart record);

    int updateByPrimaryKey(HospitalShoppingcart record);

}
